enableSdk

fun enableSdk(context: Context, appId: String? = null)
fun enableSdk(context: Context, appId: String? = null)
fun enableSdk(context: Context, appId: String? = null)

API to enable SDK usage for the account configured as default.

Note: By default the SDK is enabled, this API should only be called if you have called disableSdk at some point.

Since

12.0.00

Parameters

context

instance of Context

appId

Account identifier, APP ID on the MoEngage Dashboard. If not provided SDK will use the default instance